package com.ruoyi.customer.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 往来客户分类对象 t_mes_category
 *
 * @author ruoyi
 * @date 2024-05-24
 */
@TableName("t_mes_category")
@Data
public class TMesCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 上级id */
    @Excel(name = "上级id")
    @ApiModelProperty("上级id")
    private Long pid;

    @Excel(name = "祖先id")
    @ApiModelProperty("祖先id")
    private String ancestors;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty("名称")
    private String name;

    /** 创建人id */
    @Excel(name = "创建人id")
    @ApiModelProperty("创建人id")
    private Long createId;

    /** 更新人id */
    @Excel(name = "更新人id")
    @ApiModelProperty("更新人id")
    private Long updateId;

    @ApiModelProperty("排序")
    private Integer px;


}
